<div>
    <div class="pannel">
        <div class="pannel-head">
            <p>
                <span class="title">公告</span>
                <span class="count">/新建</span>
            </p>
            <button nz-button nzType="primary" [nzSize]="size" [routerLink]='["/home/index"]'>返回</button>
        </div>
        <div class="pannel-body">
            <form nz-form [formGroup]="validateForm" class="tour-form">
                <!-- 消息 -->
                <div class="form-pannel">
                    <!-- 1 -->
                    <nz-form-item nzFlex>
                        <nz-form-label nzRequired nzFor="title">消息标题</nz-form-label>
                        <nz-form-control>
                            <input nz-input style="width: 709px" placeholder="请输入消息标题" id="title" name="title" formControlName="title" />
                        </nz-form-control>
                    </nz-form-item>
                    <!-- 2 -->
                    <nz-form-item nzFlex>
                        <nz-form-label nzRequired nzFor="content">消息内容</nz-form-label>
                        <nz-form-control>
                            <textarea style="width: 709px;height: 120px;" formControlName="content" nz-input rows="2" placeholder=" 请输入消息内容..."></textarea>
                        </nz-form-control>
                    </nz-form-item>
                </div>
                <!-- 创建按钮 -->
                <div class="cz">
                    <a class="submit-btn blue" (click)="submit(validateForm.value,'Active')">发送</a>
                    <a class="submit-btn black" (click)="submit(validateForm.value,'Draft')">保存</a>
                    <a class="default-btn red" routerLink="/home/index">删除</a>
                </div>
            </form>
        </div>
    </div>
</div>